package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by ciko on 2015/12/5.
 */
public class SelPolicyListReq extends BaseRequest {

    public SelPolicyListReq(long policyId, int length, String policyParameter, String holderName) {
        initUser();
        put("policyId", policyId);
        put("length", length);
        put("policyParameter", policyParameter);
        put("holderName", holderName);

        //FIXME userNo
//        putCid(policyId + "" + length + "" + WorkUIKit.getUser().getUserNo());
    }

    @Override
    public String getUrl() {
        return Api.selPolicyList;
    }

    @Override
    public Class<?> getResponseClazz() {
        return SelPolicyListRes.class;
    }
}
